import axios from '../utils/http'
//商品列表
export const gooodsList = (data)=>{
    return axios.get('/goods/list',{params:data})
}
//商品删除
export const goodsDelete = (data)=>{
    return axios.post('/goods/delete',data)
}
//商品添加
export const goodsAdd = (data) => {
    return axios.post('/goods/add', data);
  };
//商品修改
export const goodsUpdare = (data) => {
    return axios.post('/goods/update', data);
  };


